<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:82:"D:\xampp\anzhaug\htdocs\RBAC\rbac\public/../application/home\view\Index\index.html";i:1488982450;s:82:"D:\xampp\anzhaug\htdocs\RBAC\rbac\public/../application/home\view\public\head.html";i:1488987440;s:82:"D:\xampp\anzhaug\htdocs\RBAC\rbac\public/../application/home\view\public\left.html";i:1489156776;}*/ ?>
<!doctype html public "-//w3c//dtd xhtml 1.0 frameset//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-frameset.dtd">
<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <meta http-equiv=pragma content=no-cache />
        <meta http-equiv=cache-control content=no-cache />
        <meta http-equiv=expires content=-1000 />
        
        <title>管理中心 v1.0</title>
    </head>
    <!-- <frameset border=0 framespacing=0 rows="60, *" frameborder=0>
        <frame name=head src="./head.html" frameborder=0 noresize scrolling=no>
            <frameset cols="170, *">
                <frame name=left src="./left.html" frameborder=0 noresize />
                <frame name=right src="./right.html" frameborder=0 noresize scrolling=yes />
            </frameset>
    </frameset>
    <noframes>
    </noframes> -->
    <body>
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <link href="/home/css/admin.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
        <table cellspacing=0 cellpadding=0 width="100%" 
               background="/home/img/header_bg.jpg" border=0>
            <tr height=56>
                <td width=260><img height=56 src="/home/img/header_left.jpg" 
                                   width=260></td>
                <td style="font-weight: bold; color: #fff; padding-top: 20px" 
                    align=middle>当前用户：<?php echo $username; ?> &nbsp;&nbsp; <a style="color: #fff" 
                                                        href="" 
                                                        target=main>修改口令</a> &nbsp;&nbsp; <a style="color: #fff" 
                                                        onclick="if (confirm('确定要退出吗？')) return true; else return false;" 
                                                        href="" target=_top>退出系统</a> 
                </td>
                <td align=right width=268><img height=56 
                                               src="/home/img/header_right.jpg" width=268></td></tr></table>
        <table cellspacing=0 cellpadding=0 width="100%" border=0>
            <tr bgcolor=#1c5db6 height=4>
                <td></td>
            </tr>
        </table>
    </body>
</html>
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
 <head> 
  <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
  <link href="css/admin.css" type="text/css" rel="stylesheet" /> 
  <script language="javascript">
            function expand(el)
            {
                childobj = document.getElementById("child" + el);

                if (childobj.style.display == 'none')
                {
                    childobj.style.display = 'block';
                }
                else
                {
                    childobj.style.display = 'none';
                }
                return;
            }
        </script> 
 </head> 
 <body> 
 <!--  <table height="100%" cellspacing="0" cellpadding="0" width="170" background="/home/img/menu_bg.jpg" border="0"> 
   <tbody>
    <tr> 
     <td valign="top" align="middle"> 
      <table cellspacing="0" cellpadding="0" width="100%" border="0"> 
       <tbody>
        <tr> 
         <td height="10"></td>
        </tr>
       </tbody>
      </table> 
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
      </table>
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(2)" href="javascript:void(0);">新闻中心</a> </td> 
        </tr> 
        <tr height="4"> 
         <td></td> 
        </tr> 
       </tbody>
      </table> 
      <table id="child2" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">员工新闻</a></td> 
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">主管新闻</a></td> 
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">经理新闻</a></td> 
        </tr> 
        <tr height="4"> 
         <td colspan="2"></td>
        </tr>
       </tbody>
      </table>  -->





      <?php foreach($fathers as $father): ?>
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(3)" href="javascript:void(0);"><?php echo $father['auth_name']; ?></a></td>
        </tr> 
        <tr height="4"> 
         <td></td>
        </tr>
       </tbody>
      </table> 
      <table id="child3" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
       <?php foreach($sons as $son): if($son['auth_pid']==$father['auth_id']): ?>
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main"><?php echo $son['auth_name']; ?></a></td>
        </tr> 
          <?php endif; endforeach; ?>

        <tr height="4"> 
         <td colspan="2"></td>
        </tr>
       </tbody>
      </table> 
      <?php endforeach; ?>



     <!--  <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(6)" href="javascript:void(0);">高级管理</a></td>
        </tr> 
        <tr height="4"> 
         <td></td>
        </tr>
       </tbody>
      </table> 
      <table id="child6" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">广告管理</a></td>
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">访问统计</a></td>
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">招聘职位</a></td>
        </tr> 
        <tr height="20"> 
        </tr>
       </tbody>
      </table>
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
      </table>  </td>
    </tr>
   </tbody>
  </table> -->


 </body>
</html>
         

    </body>
</html>